package com.hrms.hrms_employee.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.hrms.hrms_employee.dto.EmployeeChangeDTO;
import com.hrms.hrms_employee.entity.StaffPosition;
import com.hrms.hrms_employee.entity.Station;
import com.hrms.hrms_employee.vo.EmployeeGrowthDTO;
import com.hrms.hrms_employee.vo.stationDetail;

import java.time.YearMonth;
import java.util.Date;
import java.util.List;
import java.util.Map;

/**
 * 岗位表(Station)表服务接口
 *
 * @author makejava
 * @since 2025-01-15 13:55:34
 */
public interface StationService extends IService<Station> {

    Page<stationDetail> pageInfo(Page<stationDetail> page, Map<String, String> map);

    void saveOrUpdateInfo(stationDetail stationDetail);

    List<StaffPosition> selectManagerByDepartmentId(Long stationId);

    EmployeeGrowthDTO getGrowthStats(YearMonth targetMonth);

    Integer seelectEmployee(String name);

}

